import java.lang.annotation.Annotation;
import java.lang.reflect.Field;
import java.lang.reflect.Method;

public class Main {

    public static void main(String[] args) throws ClassNotFoundException, NoSuchMethodException, NoSuchFieldException {
        System.out.println("Hello World!");
        Method method=Class.forName("OneClass").getDeclaredMethod("oneMethod");
        OneAnnotation oneAnnotation=method.getAnnotation(OneAnnotation.class);

        Field[] fields=Class.forName("OneClass").getDeclaredFields();
        for(int i1=0;i1<fields.length;i1++) {
            Field field=fields[i1];
            Annotation[] twoAnnotions = field.getAnnotations();
            for (int i = 0; i < twoAnnotions.length; i++) {
                TwoAnnotion twoAnnotion = (TwoAnnotion) twoAnnotions[i];
                System.out.println(twoAnnotion.parameter1());
                System.out.println(twoAnnotion.parameter2());
            }
        }

        System.out.println(oneAnnotation.parameter1());
        System.out.println(oneAnnotation.parameter2());

    }
}
